<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__CSS__/pintuer.css?v={$src_version}">
<link rel="stylesheet" href="__CSS__/admin.css?v={$src_version}">
<link rel="stylesheet" href="__CSS__/responsive.css?v={$src_version}">
<script src="__JS__/jquery-3.2.1.min.js?v={$src_version}"></script>
<script src="__JS__/pintuer.js?v={$src_version}"></script>
<script src="__JS__/jquery.nicescroll.js"></script>
<script src="__PUBLIC__/layer.js?v={$src_version}"></script>
<script src="__JS__/ming.js?v={$src_version}"></script>
<script src="__JS__/ifram_scroll.js?v={$src_version}"></script>
<script src="__JS__/responsive.js?v={$src_version}"></script>   
  
<body>
 
<div class="panel admin-panel ">
  <form method="post" class="form-x" id="frm" action="">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改状态</strong></div>
  <div class="body-content">
     <div class="form-group">
        <div class="label">
          <label>状态</label>
        </div>
        <div class="field">
           <select class="input w50" name="is_get" id="is_get">
            <option <if condition="$edit['is_get'] eq '0'">selected</if> value="0">未领取</option>
            <option <if condition="$edit['is_get'] eq '1'">selected</if> value="1">已领取</option>
           </select>  
        </div>
    </div>  
   
  
    
   <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <input type="hidden" name="id" id="id" value="{$edit.grid}" />
          <input type="hidden" name="act" value="add" />
          <div class="button-group">
             <a class="button bg-main" href="javascript:;" id="sbt">
               <span class="icon-check-square-o"></span> 提交
             </a> 
             <a class="button border-main" href="javascript:history.go(-1)">
             <span class="icon-mail-reply"></span> 返回</a>
           </div> 
        </div>
      </div>
   
  </div>
 </form>
</div>

 
<script type="text/javascript">
  $(function(){
  
 //--------------------------------------------------------------------------------------------------------------------------------// 
    $('#sbt').click(function(){
	 
		 
		  $.mAjax("{:U('Order/add')}",$('#frm').serialize(),'json','sbt','提交中...','<span class="icon-check-square-o"></span> 提交');
		
		});	  
 
   });
   
   
 
</script>
</body>
</html>